package com.wyiot.pet.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wyiot.pet.model.entity.UserMessageDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MessageMapper extends BaseMapper<UserMessageDO> {

    Page<UserMessageDO> selectMessageListByType(Page page,@Param("type") Integer type , @Param("code") String code);
}
